<template>
  <div>
    <!--  <child-component :counterFromParent="counter" /> -->
    <my-button 
      size="large"
      type="danger"
      @click="onAbc"
      >
      提交
      </my-button>
    <!-- <child-component size="large" type="danger">提交</child-component> -->
    <!-- <time-line :data="abc"/> -->
    <!-- <get  :data="data"/> -->
  </div>
</template>

<script>
/* import TimeLine from '../time-line.vue';
import get from '../全选框.vue' */
// import ChildComponent from "./子组件.vue";
import MyButton from "./子组件.vue"

export default {
  components: {
    // ChildComponent,
    MyButton,
    /*  TimeLine, */
    /*  get */
  },
  methods: {
    /*  onAdd(){
        this.counter++;
    } */
    onAbc(msg){
      console.log(msg);
    }
  },
};
</script>

<style>
/*  .size{
    background-color: red;
  }
  .large{
    background-color: skyblue;
  } */
</style>
